package xaj.puiatti;

import java.util.Collection;
import abc.aspectj.parse.AbcLexer;
import abc.aspectj.parse.LexerAction_c;

public class AbcExtension extends abc.main.AbcExtension {
    public void initLexerKeywords(AbcLexer lexer) {
        super.initLexerKeywords(lexer);
        lexer.addGlobalKeyword("rule", new LexerAction_c(new Integer(
            xaj.puiatti.parse.sym.PC_RULE)));
        lexer.addGlobalKeyword("advices", new LexerAction_c(new Integer(
            xaj.puiatti.parse.sym.ADVICES)));
        lexer.addGlobalKeyword("prec", new LexerAction_c(new Integer(
                xaj.puiatti.parse.sym.PREC)));
        lexer.addGlobalKeyword("first", new LexerAction_c(new Integer(
                xaj.puiatti.parse.sym.FIRST)));
        lexer.addGlobalKeyword("ignore", new LexerAction_c(new Integer(
                xaj.puiatti.parse.sym.IGNORE)));
        lexer.addGlobalKeyword("last", new LexerAction_c(new Integer(
                xaj.puiatti.parse.sym.LAST)));
    }
    public abc.aspectj.ExtensionInfo makeExtensionInfo(
            Collection<String> jar_classes, Collection<String> aspect_sources) {
        return new ExtensionInfo(jar_classes, aspect_sources);
    }
}
